import {createRouter, createWebHistory} from 'vue-router'
import Home from '../views/Home.vue'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home,
        },
        {
            path: '/cpu',
            name: 'cpu',
            component: () => import('../views/cpu/CpuLoad.vue'),
        },
        {
            path: '/line-simple',
            name: 'lineSimple',
            component: () => import('../views/lineSimple/LineSimple.vue'),
        },
    ],
})

export default router
